package com.mtw.bbs.common.core.exception;

import com.mtw.bbs.common.core.enums.ResultCode;

/**
 *
 */
public class BusinessException extends BaseException {


    public BusinessException(String msg) {
        super(msg);
    }

    public BusinessException(String errorCode, String message) {
        super(errorCode,message);
    }

    public BusinessException(String message, Throwable cause) {
        super(ResultCode.SERVICE_EXP.getCode(),message, cause);
    }

    public BusinessException(String errorCode, String message, Throwable cause) {
        super(errorCode,message, cause);
    }

}
